# Python3函数注解：为函数提供类型提示信息
def f(ham:str, egg:str = 'eggs') -> str:
    pass
print(f.__annotations__)
print()

def square(number:"一个数字") -> "返回number的平方":
    return number ** 2
print(square(10))
print(square.__annotations__)
